package com.xbongbong.pro.rabbitmq.producer;

import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.pro.message.enums.SmsSendFromTypeEnum;
import com.xbongbong.pro.sms.pojo.dto.SmsRabbitMqDTO;

/**
 * 短信 生产者
 *
 * @author 魏荣杰
 * @version v1.0
 * @date 2019/3/19 15:36
 * @since v1.0
 */
public interface SmsProducer {

    /**
     * 发送短信
     *
     * @param smsRabbitMqDTO 入参
     * @throws XbbException
     * @author hongxiao
     * @date: 2019-01-25 19:45
     * @version 1.0
     * @since v1.0
     */
    void sendSms(SmsSendFromTypeEnum sendFromType, SmsRabbitMqDTO smsRabbitMqDTO) throws XbbException;
}
